package org.jeecg.modules.demo.cms.article.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 网站新闻表
 * @Author: jeecg-boot
 * @Date:   2025-06-07
 * @Version: V1.0
 */
@Data
@TableName("cms_article")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="网站新闻表")
public class CmsArticle implements Serializable {
    private static final long serialVersionUID = 1L;

	/**文章主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "文章主键")
    private java.lang.String id;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**信息来源*/
	@Excel(name = "信息来源", width = 15)
    @Schema(description = "信息来源")
    private java.lang.String infoRes;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @Schema(description = "标题")
    private java.lang.String title;
//	/**创建时间*/
//	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
//	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
//    @Schema(description = "创建时间")
//    private java.util.Date createtime;
	/**发布日期*/
	@Excel(name = "发布日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "发布日期")
    private java.util.Date publishdate;
	/**作者*/
	@Excel(name = "作者", width = 15)
    @Schema(description = "作者")
    private java.lang.String author;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @Schema(description = "创建人")
    private java.lang.String createuser;
	/**文章类型*/
	@Excel(name = "文章类型", width = 15)
    @Schema(description = "文章类型")
    private java.lang.String categorycode;
	/**文章类型id*/
	@Excel(name = "文章类型id", width = 15, dictTable = "cms_column_type", dicText = "name", dicCode = "id")
	@Dict(dictTable = "cms_column_type", dicText = "name", dicCode = "id")
    @Schema(description = "文章类型id")
    private java.lang.String categoryid;
	/**阅读次数*/
	@Excel(name = "阅读次数", width = 15)
    @Schema(description = "阅读次数")
    private java.lang.Integer readcount;
	/**是否首页显示*/
    @Excel(name = "是否首页显示", width = 15,replace = {"是_1","否_0"} )
    @Schema(description = "是否首页显示")
    private java.lang.Integer ishome;
	/**是否图片新闻*/
    @Excel(name = "是否图片新闻", width = 15,replace = {"是_1","否_0"} )
    @Schema(description = "是否图片新闻")
    private java.lang.Integer ispics;
	/**是否显示*/
    @Excel(name = "是否显示", width = 15,replace = {"是_1","否_0"} )
    @Schema(description = "是否显示")
    private java.lang.Integer isshow;
	/**标题颜色*/
	@Excel(name = "标题颜色", width = 15)
    @Schema(description = "标题颜色")
    private java.lang.String titlecolor;
	/**简介*/
	@Excel(name = "简介", width = 15)
    @Schema(description = "简介")
    private java.lang.String info;
	/**文章图片*/
	@Excel(name = "文章图片", width = 15)
    @Schema(description = "文章图片")
    private java.lang.String articleImgs;
	/**文章形式*/
	@Excel(name = "文章形式", width = 15)
    @Schema(description = "文章形式")
    private java.lang.String articleXsh;
	/**外链地址*/
	@Excel(name = "外链地址", width = 15)
    @Schema(description = "外链地址")
    private java.lang.String articleAddress;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "cms_article_status")
	@Dict(dicCode = "cms_article_status")
    @Schema(description = "状态")
    private String zhuangt;
	/**审核原因*/
	@Excel(name = "审核原因", width = 15)
    @Schema(description = "审核原因")
    private java.lang.String shenheyuany;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @Schema(description = "审核人")
    private java.lang.String shenhr;
	/**审核时间*/
	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "审核时间")
    private java.util.Date shenhshj;
	/**浏览数*/
	@Excel(name = "浏览数", width = 15)
    @Schema(description = "浏览数")
    private java.lang.Integer liulanshu;
	/**网址*/
	@Excel(name = "网址", width = 15)
    @Schema(description = "网址")
    private java.lang.String wangzhi;
	/**置顶时间*/
	@Excel(name = "置顶时间", width = 15)
    @Schema(description = "置顶时间")
    private java.lang.String zhidingshj;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @Schema(description = "排序")
    private java.lang.Integer seq;
	/**发布人*/
	@Excel(name = "发布人", width = 15)
    @Schema(description = "发布人")
    private java.lang.String fabur;
	/**发布时间*/
	@Excel(name = "发布时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "发布时间")
    private java.util.Date fabushj;
	/**肩题*/
	@Excel(name = "肩题", width = 15)
    @Schema(description = "肩题")
    private java.lang.String kicker;
	/**副题*/
	@Excel(name = "副题", width = 15)
    @Schema(description = "副题")
    private java.lang.String subtitle;
	/**头图是否显示*/
    @Excel(name = "头图是否显示", width = 15,replace = {"是_1","否_0"} )
    @Schema(description = "头图是否显示")
    private java.lang.String imgisshow;
	/**topTitle*/
	@Excel(name = "topTitle", width = 15)
    @Schema(description = "topTitle")
    private java.lang.String topTitle;
	/**views*/
	@Excel(name = "views", width = 15)
    @Schema(description = "views")
    private java.lang.Integer views;
	/**关键字*/
	@Excel(name = "关键字", width = 15)
    @Schema(description = "关键字")
    private java.lang.String guanjianzi;
	/**百度推送状态 1：已推送*/
	@Excel(name = "百度推送状态 1：已推送", width = 15)
    @Schema(description = "百度推送状态 1：已推送")
    private java.lang.String baiduStatus;
}
